package com.datatypes;

import com.sporteamws.SharedPref;

import android.graphics.Color;

public class Settings {

	/** Track color **/
	private int myTrackColor = Color.RED;
	private int ghostTrackColor = Color.BLUE;

	/** TTS time delay **/
	private int ttsMyDeley = 180;
	private int ttsGhostDeley = 300;

	/** TTS on / off **/
	private boolean ttsOn = true;
	private boolean ttsGpsStatus = true;
	private boolean ttsGhostStatus = true;
	private boolean ttsMyStatus = true;

	private boolean screenOn = true;

	public Settings() {

	}

	public int getMyTrackColor() {
		return myTrackColor;
	}

	public void setMyTrackColor(int myTrackColor) {
		this.myTrackColor = myTrackColor;
		SharedPref.myTrackColor = myTrackColor;
	}

	public int getGhostTrackColor() {
		return ghostTrackColor;
	}

	public void setGhostTrackColor(int ghostTrackColor) {
		this.ghostTrackColor = ghostTrackColor;
		SharedPref.ghostTrackColor = ghostTrackColor;
	}

	public int getTtsMyDeley() {
		return ttsMyDeley;
	}

	public void setTtsMyDeley(int ttsMyDeley) {
		this.ttsMyDeley = ttsMyDeley;
		SharedPref.ttsMyDeley = ttsMyDeley;
	}

	public int getTtsGhostDeley() {
		return ttsGhostDeley;
	}

	public void setTtsGhostDeley(int ttsGhostDeley) {
		this.ttsGhostDeley = ttsGhostDeley;
		SharedPref.ttsGhostDeley = ttsGhostDeley;
	}

	public boolean isTtsOn() {
		return ttsOn;
	}

	public void setTtsOn(boolean ttsOn) {
		this.ttsOn = ttsOn;
		SharedPref.ttsOn = ttsOn;
	}

	public boolean isScreenOn() {
		return screenOn;
	}

	public void setScreenOn(boolean screenOn) {
		this.screenOn = screenOn;
		SharedPref.screenOn = screenOn;

	}

	public boolean isTtsGpsStatus() {
		return ttsGpsStatus;
	}

	public void setTtsGpsStatus(boolean ttsGpsStatus) {
		this.ttsGpsStatus = ttsGpsStatus;
		SharedPref.ttsGpsStatus = ttsGpsStatus;
	}

	public boolean isTtsGhostStatus() {
		return ttsGhostStatus;
	}

	public void setTtsGhostStatus(boolean ttsGhostStatus) {
		this.ttsGhostStatus = ttsGhostStatus;
		SharedPref.ttsGhostStatus = ttsGhostStatus;
	}

	public boolean isTtsMyStatus() {
		return ttsMyStatus;
	}

	public void setTtsMyStatus(boolean ttsMyStatus) {
		this.ttsMyStatus = ttsMyStatus;
		SharedPref.ttsMyStatus = ttsMyStatus;
	}

	public void setPrefInfo() {
		SharedPref.ttsMyStatus = ttsMyStatus;
		SharedPref.ttsGhostStatus = ttsGhostStatus;
		SharedPref.ttsGpsStatus = ttsGpsStatus;
		SharedPref.ttsOn = ttsOn;
		SharedPref.screenOn = screenOn;
		SharedPref.ttsGhostDeley = ttsGhostDeley;
		SharedPref.ttsMyDeley = ttsMyDeley;
		SharedPref.ghostTrackColor = ghostTrackColor;
		SharedPref.myTrackColor = myTrackColor;
	}

}
